#include "colors.inc"    // The include files contain
#include "stones.inc"    // pre-defined scene elements
                                                        
#include "textures.inc"    // pre-defined scene elements
#include "shapes.inc"
#include "glass.inc"
#include "metals.inc"
#include "woods.inc"   


#declare ROAD_WIDTH = 2;
#declare ROUNADABOUT_RADIUS = 4;

background { color Green }


camera {
    location <0, 9, -9>
    look_at  <0, 0,  0>
}




difference {
    torus {
      ROUNADABOUT_RADIUS, ROAD_WIDTH/2
    }
    box { <-5, 5, -5>, <5, 0.1, 5> }
    pigment { Gray50 }
}

#declare roads = union{

box { <-15, 0.1, ROAD_WIDTH>, <15, 0, 0.1> }

box { <-15, 0.1, -0.1>, <15, 0, -ROAD_WIDTH> }

box { <ROAD_WIDTH, 0.1, -15>, <0.1, 0, 15> }

box { <-0.1, 0.1, -15>, <-ROAD_WIDTH, 0, 15> }

}

difference{
   object {roads}
   sphere{<0,0,0>,ROUNADABOUT_RADIUS}
   pigment { color Gray50 }
}



light_source { <2, 4, -3> color White}





    